#ifndef _COMMON_H
#define _COMMON_H

#include <ESP8266WiFi.h>

#define DEBUG_MODE 1

#if (DEBUG_MODE == 1)
    #define LOG(x) Serial.println(x)
    #define LOG_F(x, ...) Serial.printf(x, ##__VA_ARGS__) 
#else
    #define LOG(x)
    #define LOG_F(x, ...)
#endif

#endif //_COMMON_H